.PHONY: all
all:
	tcpserver tcpclient

tcpserver:main.cc
	g++ -o $@ $^ -std=c++11 -lpthread

tcpclient:Tcp_client.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f tcpserver tcpclient
